home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 11494 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  847 b 

  1. Path: chinook.Generation.NET!michelb
  2. From: michelb@generation.net (Michel Beausejour)
  3. Newsgroups: comp.lang.c++,comp.os.ms-windows.programmer.controls,comp.os.ms-windows.programmer.tools.mfc,comp.os.ms-windows.programmer.win32
  4. Subject: CListView and SetTimer in MFC 4.0
  5. Date: Thu, 14 Mar 96 20:21:46 GMT
  6. Organization: Generation.NET
  7. Message-ID: <4i9uvo$3k2@chinook.Generation.NET>
  8. NNTP-Posting-Host: portc22.generation.net
  9. Summary: SetTimer works only once in a CListView.
  10. X-Newsreader: News Xpress 2.0 Beta #0
  11. Keyword: CListView SetTimer
  12.  
  13. My application has its view class derived from CListView. I call SetTimer() in 
  14. the OnInitialUpdate(). The OnTimer() function mapped to WM_TIMER gets called 
  15. only once. 
  16.  
  17. If the base class is CView, everything works fine.
  18.  
  19. Anyone has a idea why the CListView's OnTimer does not get called more than 
  20. once ?
  21.